<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="/static/layui/css/layui.css"/>
    <title>装修Style</title>
    <link rel="stylesheet" href="/static/css/global.css">
    <script src="/static/layui/layui.js"></script>
</head>
<body>
<div class="layui-carousel" id="bg-item">
    <div class="layui-header title">
        <div class="layui-container">
            <div class="layui-logo layui-pull-left">
                <img src="/static/img/logo.png" width="240px">
            </div>
            <div test="${not empty loginUser }">
	            <div class="personalCenter layui-pull-right"><a th:href="@{/rent/house/allHouse}" target="_blank" style="color:#fff"><i class="layui-icon layui-icon-tree"></i>返回个人中心</a></div>
            <div>

        </div>
    </div>

</div>


<section class="layui-container">
    <hr>
    <h2>您共有<span style="color: #ffc601;margin: 0 5px;">1</span>套装修方案</h2>
    <hr>
    <div class="house-detail">
        <ul>
        	<div>
	            <li>
	                <a href="#" class="show-image">
	                    <img th:src="@{'/static/style/'+${img1}}" width="240px" height="180px">
	                    <img th:src="@{'/static/style/'+${img2}}" width="240px" height="180px">
	                    <img th:src="@{'/static/style/'+${img3}}" width="240px" height="180px">
                        <img src="/static/style/df8fe28b-28a3-4352-97b4-82018d92a308.jpg" width="240px" height="180px">

                    </a>
	                <div class="show-details">
	                    <p class="house-title">
	                        <a href="" th:value="${style.getStyleDesc()}"></a>
	                    </p>
	                    <div class="show-price">
	                        <span class="sale-price">[[${style.getStylePrice()}]]</span>
	                        <span class="sale-unit">元</span>
	                    </div>

                        <p class="house-address clearfix" style="color: #28ff73">
                            <span class="layui-icon"></span>
                            <span class="whole-line" style="color: #009E94">
			    		        <span>[[${style.getStyleDesc()}]]</span>
					        </span>
                        </p>
                        <br/>
                        <br/>
                    </div>
                    <div class="show-details">
                    <form th:action="@{/rent/booking/toBooking}">
                        <input type="hidden" name="styleId" th:value="${style.getStyleId()}">
                        <input type="submit" class="layui-btn" value="就决定使用这个·装修方案了！">
                    </form>
                    </div>
	            </li>
        	</div>
        </ul>
    </div>
</section>

</body>
</html>
